﻿<%@ Page Language="C#" MasterPageFile="~/Templates/top.master" AutoEventWireup="true" CodeFile="registered.aspx.cs" Inherits="registered" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<link href="style/regInfo.css" rel="stylesheet" type="text/css" /> 
 
<script language="javascript" type="text/javascript" src="js/jquery-1.4.1.js"></script> 
<script language="javascript" type="text/javascript" src="js/reg.js"></script>
<script language="javascript" type="text/javascript" src="js/init.js"></script>

<div  style="border-style:solid; border-width:1px; width:580px; margin-left:23%; border-color:Gray;margin-top:10%;" >
<div id="regform"   >
 <div class="reginfo_txtdiv"  >
<div class="reginfo_tl"  ><span>*</span>Email地址：</div>
<div class="reginfo_tr2">
    <asp:TextBox ID="email" CssClass="reginfo_input2"   onblur="checkEmail(this,'emailMsg')" onkeypress="clearMsg('emailMsg')" name="email" runat="server"></asp:TextBox></div>
<div id="emailMsg"></div></div>
<div class="reginfo_txtdiv">
<div class="reginfo_tl"><span>*</span>用户名：</div>
<div class="reginfo_tr2">
    <asp:TextBox ID="username" onblur="checkUserName(this,'usernameMsg')" CssClass="reginfo_input2" onkeypress="clearMsg('usernameMsg');" runat="server"></asp:TextBox></div>
<div id="usernameMsg"></div></div>
<div class="reginfo_txtdiv">
<div class="reginfo_tl"><span>*</span>登录密码：</div>
<div class="reginfo_tr2">
    <asp:TextBox ID="password" onblur="checkPwd(this,'passwordMsg')" TextMode="Password" onkeypress="clearMsg('passwordMsg')" CssClass="reginfo_input2"  runat="server"></asp:TextBox></div>
<div id="passwordMsg"></div></div>
<div class="reginfo_txtdiv">
<div class="reginfo_tl"><span>*</span>确认密码：</div>
<div class="reginfo_tr2">
    <asp:TextBox ID="password2"  onblur="checkPwd2(this,'password2Msg')" TextMode="Password" onkeypress="clearMsg('password2Msg')" CssClass="reginfo_input2" runat="server"></asp:TextBox></div>
<div id="password2Msg"></div></div>

<div class="reginfo_txtdiv">
<div class="reginfo_tl"><span>*</span>验证码：</div>
<div class="reginfo_tr2">
    <asp:TextBox ID="validateCode" Width="60px"  onblur="checkCode(this,'validateCodeMsg')" onkeypress="clearMsg('validateCodeMsg')" CssClass="reginfo_input2"  runat="server"></asp:TextBox></div>
<div class="reginfo_trcode"><img id="vCode" src="GetValidate.aspx" alt="" style="cursor:hand;" onclick="codeRefresh(this);return false;" /></div>
<div class="reginfo_tr3">&nbsp;&nbsp; </div>
<div style="BACKGROUND-IMAGE: none" id="validateCodeMsg"></div></div>
    

    <div class="reginfo_read"><input checked="checked" id="checkBox" type="checkbox"/><a href="#">我已阅读并同意《商城服务条款》</a></div>
            

    <div class="reginfo_subbtn">
        <asp:Button ID="Button1" OnClientClick="return checkForm();" runat="server" style="background-image:url(img/login_button.gif); height:42px; width:125px; border:0; font-weight:bold; color:#fff;cursor:hand;" Text="注册" OnClick="Button1_Click" />
        <asp:Label ID="lblMsg" runat="server" ForeColor="#ff0000" Text=""></asp:Label>
    </div>
    </div>
     <script type="text/javascript" language="javascript">
        function codeRefresh(obj)
        {
            obj.src = "GetValidate.aspx?pcode=" + (Math.random() *1000);
        }
        </script>  
 
</div>
</asp:Content>

